JMFrameDragReceive
Passes a drag-and-drop item to a frame.
OSStatus JMFrameDragReceive (
JMFrameRef frame,
DragReference theDragRef);frame
- The frame to receive the drag-and-drop information.
theDragRef
- The drag reference of the drag.
- function result
- A result code; see "JManager Result Codes".
DISCUSSION
If the user releases a drag in a window corresponding to a frame, you should pass the drag information to the frame usingJMFrameDragReceive
. The frame can then take action on the drag, depending on the contents of the drag. Essentially your application calls this function as though the Drag Manager were calling aDragReceiveHandler
callback.Note that JDK versions 1.1.x and earlier do not support drag and drop.
SEE ALSO
"Drag-And-Drop Support".Drag Manager Programmer's Guide.